#include "Common.h"
#include <fstream>

#ifndef FILEDRIVER
#define FILEDRIVER

class FileDriver
{
public:
	FileDriver();
	bool file_open(string filename);
	void file_close();
	int file_write(void* buffer);
	int file_read(void* buffer, size_t read_size);

private:
	string m_filename;
	fstream m_fstream;
	bool m_is_open;
};

#endif
